package cn.wangsy.zhidao.p20170407;

import java.awt.Image;
import javax.swing.ImageIcon;

public class BaseImage {
	public Image loadImage(String path) {
		ImageIcon icon = new ImageIcon(getClass().getResource(path));
		Image img = icon.getImage();
		return img;
	}
}
